<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Title</title>
</head>
<body>
<script src="../js/vue.js"></script>
<div id="app">
  <label for="man">
<!--    <input type="radio" id="man" name="sex" value="男" v-model="sex">男-->
    <input type="radio" id="man" value="男" v-model="sex">男
  </label>
  <label for="women">
<!--    <input type="radio" id="women" name="sex" value="女" v-model="sex">女-->
    <input type="radio" id="women" value="女" v-model="sex">女
  </label>
  <h2>您选择的性别是:{{sex}}</h2>
</div>
<script>
    const app = new Vue({
        el:'#app',
        data:{
            message:'hello vue',
          sex:''
        }

    })
</script>

</body>
</html>